package org.mao.forum.dao;

import org.mao.util.Page;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.mao.base.BaseDao;
import org.mao.forum.entity.ForumPost;
import org.mao.forum.vo.ForumPostVo;

public interface ForumPostDao extends BaseDao<ForumPost> {

	Integer queryCountBySectionId(@Param("sectionId") Integer sectionId);

	List<ForumPostVo> queryBySectionId(@Param("sectionId") Integer sectionId, @Param("page") Page page);
	
	List<Integer> queryUnFoundTorrentUrl();
	
	List<Integer> queryUnFoundImage();
}
